<script setup lang="ts">
// import { RouterLink, RouterView } from 'vue-router'
import Tq1 from "../components/Tq.vue";
import Txt from "../components/Txt.vue";
import Txz from "../components/Txz.vue";
import Yxt from "../components/yxt.vue";
import Bottom from "../components/Bottom.vue";
import Rotatehorse from "@/components/Rotatehorse.vue";
</script>

<template>
  <div>
    <div class="box">
      <div class="header">
        <div class="header-12341234"  style="height: 2rem;">
          <Tq1></Tq1>
        </div>
        <div class="header-b">
          <div class="a1">学生分配情况……</div>
          <div class="heaaa"><Txt></Txt></div>
        </div>
      </div>
      <div class="body">
        <div class="body-1">
          <Rotatehorse></Rotatehorse>
        </div>
        <div class="botton">
          <Bottom></Bottom>
        </div>
      </div>
      <div class="footer">
        <div class="footer-c">
          <div class="a1">水电用量……</div>
          <div class="aa1">
            <div class="aaa1">
              <div class="tu">
                <img
                  src="../assets/images/用水量.png"
                  style="width: 0.2rem; height: 0.2rem"
                  alt=""
                />
              </div>
              <div class="dian">总用水量72670</div>
            </div>
            <div class="aaa2">
              <div class="tu1">
                <img
                  src="../assets/images/用电量.png"
                  style="width: 0.2rem; height: 0.2rem"
                  alt=""
                />
              </div>
              <div class="dian1">总用电量69035</div>
            </div>
          </div>
          <div class="tzx"><Txz></Txz></div>
        </div>
        <div class="footer-d">
          <div class="a1">校园人员流动情况……</div>
          <div class="footer1">
            <div class="footer2">
              <div class="wai">
                <img src="../assets/images/yestoday.png" alt="" />
              </div>
              <div class="footer4">
                <div>1</div>
                <div style="margin-top: 0.01rem">昨日外来访客</div>
              </div>
            </div>
            <div class="footer3">
              <div class="wai">
                <img src="../assets/images/today.png" alt="" />
              </div>
              <div class="footer4">
                <div>1</div>
                <div style="margin-top: 0.01rem">昨日外来访客</div>
              </div>
            </div>
          </div>
          <div class="yxt"><Yxt></Yxt></div>
        </div>
      </div>
      <div class="top"></div>
    </div>
  </div>
</template>
<style>
.box {
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
  background: #000;
}
.header {
  width: 35%;
  height: 100vh;
  background: url("../assets/images/Left.png") no-repeat 0 0 / 100% 100vh;
}
.body {
  width: 35%;
  height: 100vh;
  background: url("../assets/images/pageBg.png") no-repeat 0 0 / 100% 100vh;
  position: relative;
}
.body-1{
  width: 100%;
  height: 50%;
  margin-top: 1.2rem;
}
.footer {
  width: 35%;
  height: 100vh;
  background: url("../assets/images/Right.png") no-repeat 0 0 / 100% 100vh;
}
.heaaa {
  width: 100%;
  height: 1.5rem;
}
.top {
  width: 100%;
  height: 0.3rem;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../assets//images/Top.png") no-repeat 0 0 / 100% 100%;
}
.tzx {
  width: 100%;
  height: 1.5rem;
}
.ytx {
  width: 100%;
  height: 1.5rem;
}
.botton {
  width: 100%;
  height: 0.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  background: url("../assets/images/nav.png") no-repeat 0 0 / 100% 100%;
}

.header-a {
  width: 2.5rem;
  height: 2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.header-b {
  width: 2.5rem;
  height: 2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.footer-c {
  width: 2.5rem;
  height: 2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.footer-d {
  width: 2.5rem;
  height: 2rem;
  margin-top: 0.2rem;
  margin-left: 0.4rem;
}
.footer1 {
  width: 100%;
  height: 0.4rem;
  display: flex;
}
.footer2 {
  width: 50%;
  height: 0.7rem;
  display: flex;
  color: #fff;
  margin-left: 0.1rem;
}
.footer3 {
  width: 50%;
  height: 0.7rem;
  display: flex;
  color: #fff;
  margin-left: 0.1rem;
}
.wai {
  margin-top: 0.3rem;
}
.footer4 {
  text-align: center;
  margin-top: 0.2rem;
  margin-left: 0.2rem;
}
.a1 {
  width: 90%;
  height: 0.2rem;
  background: url("../assets/images/titlebg.png") no-repeat 0 0 / 100% 100%;
  color: #fff;
  padding-left: 0.1rem;
  line-height: 0.2rem;
}
.aa1 {
  width: 100%;
  height: 0.3rem;
  color: #fff;
  display: flex;
}
.aaa1 {
  width: 45%;
  border: 1px solid #ccc;
  margin-top: 0.04rem;
  text-align: center;
  display: flex;
}
.dian {
  line-height: 0.3rem;
  margin-left: 0.03rem;
}
.tu {
  margin-top: 0.03rem;
}
.aaa2 {
  width: 45%;
  border: 1px solid #ccc;
  margin-top: 0.04rem;
  text-align: center;
  margin-left: 0.1rem;
  display: flex;
}
.dian1 {
  line-height: 0.3rem;
  margin-left: 0.03rem;
}
.tu1 {
  margin-top: 0.03rem;
}
</style>